package io.renren.modules.sys.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.renren.modules.sys.entity.ContentEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.vo.ContentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author xuewenjun
 * @email xwj@kafukeji.cn
 * @date 2021-07-30 14:39:09
 */
@Mapper
public interface ContentDao extends BaseMapper<ContentEntity> {

    IPage<ContentEntity> queryPage(IPage<ContentEntity> page, ContentVo params);

    List<ContentEntity> queryList(Map<String, String> params);

}
